<!DOCTYPE html>
<html>
	<head>
		<title>PHPCheckstyle Results</title>
		<link href="css/global.css" rel="stylesheet" type="text/css"/>
	</head>
	
	
	<body>
	
		<div class="banner">
				<a href="http://code.google.com/p/phpcheckstyle/" target="_blank">
					<img src="images/Logo_phpcheckstyle.png"/>
				</a>
				<span class='title'>&nbsp;PHPCheckstyle</span>
		</div>
		<br/>
<h1>Summary</h1>
<table class="dataTable">
	<tr>
		<td class="tableHead">Number of Files Tested</td>
		<td class="tableCell"><span class="emphasis">4</span></td>
	</tr>
	<tr>
		<td class="tableHead">Number of Files With Errors</td>
		<td class="tableCell"><span class="emphasis">2</span></td>
	</tr>
	<tr>
		<td class="tableHead">Total Number of Errors</td>
		<td class="tableCell"><span class="emphasis">65</span></td>
	</tr>
</table>
<br/>
<h1>Files With Errors</h1>
<table class="dataTable">
	<thead>
		<tr>
			<th class="tableHead">
                Filename
            </th>
			<th class="tableHead">
                Number of Errors
            </th>
		</tr>
	</thead>
	<tbody>


<tr>
	<td class="tableCell">
		<a href="#./test/bad.php">./test/bad.php</a>
	</td>
	<td class="tableCell">59</td>
</tr><tr>
	<td class="tableCell">
		<a href="#./test/badIndentation.php">./test/badIndentation.php</a>
	</td>
	<td class="tableCell">6</td>
</tr>	</tbody>
</table>
<br/>
<h1>Detail</h1><h2 id="./test/bad.php">./test/bad.php</h2>
<table class="dataTable">
	<thead>
		<tr>
			<th class="tableHead" style="width:8em">
                Level
            </th>
            <th class="tableHead">
                Error Message
            </th>
			<th class="tableHead" style="width:3em">
                Line Number
            </th>
			
		</tr>
	</thead>
	<tbody><tr>
	<td class="tableCell">INFO</td>
	<td class="tableCell"><span title="Rule : lineLength">Line contains more than 160 characters</span></td>
	<td class="tableCell">10</td>
</tr>
					<tr>
	<td class="tableCell">ERROR</td>
	<td class="tableCell"><span title="Rule : constantNaming">Constant 'constant' should be all uppercase (starting with a letter) with underscores to separate words</span></td>
	<td class="tableCell">14</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : variableNaming">Variable '$TOTO' should start with a lowercase letter with no underscores to separate words</span></td>
	<td class="tableCell">16</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : variableNaming">Variable '$Toto' should start with a lowercase letter with no underscores to separate words</span></td>
	<td class="tableCell">18</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : variableNaming">Variable '$to_to' should start with a lowercase letter with no underscores to separate words</span></td>
	<td class="tableCell">20</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">Docblock missing</span></td>
	<td class="tableCell">23</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">25</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : useBooleanOperators">Use boolean operators (&amp;&amp;) instead of logical operators (AND)</span></td>
	<td class="tableCell">28</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">28</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : needBraces">This block of code should have braces</span></td>
	<td class="tableCell">31</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : controlStructNeedCurly">Control statement should always be placed within {} blocks</span></td>
	<td class="tableCell">32</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">34</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">39</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">48</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : encapsedVariablesInsideString">Avoid encapsed variables inside a string</span></td>
	<td class="tableCell">51</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : encapsedVariablesInsideString">Avoid encapsed variables inside a string</span></td>
	<td class="tableCell">51</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyStatement">Empty statement (;;)</span></td>
	<td class="tableCell">56</td>
</tr>
					<tr>
	<td class="tableCell">INFO</td>
	<td class="tableCell"><span title="Rule : noSpaceBeforeToken">; should not be preceded by whitespace</span></td>
	<td class="tableCell">57</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : noShellComments">Shell/Perl like comments (starting with '#') are not allowed</span></td>
	<td class="tableCell">59</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkSilencedError">Errors should not be silenced when calling a function</span></td>
	<td class="tableCell">61</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkProhibitedFunctions">Calling function exec is prohibited</span></td>
	<td class="tableCell">63</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnaryOperator">Avoid using unary operators (++ or --) inside a control statement</span></td>
	<td class="tableCell">65</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty if block</span></td>
	<td class="tableCell">65</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : switchNeedDefault">Switch block need a default statement</span></td>
	<td class="tableCell">68</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkDeprecation">$HTTP_POST_VARS is deprecated since PHP 5.3, use $_POST instead</span></td>
	<td class="tableCell">78</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : cyclomaticComplexity">The cyclomatic complexity (13) of this method is too high</span></td>
	<td class="tableCell">23</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : showTODOs">TODO  : // This is a TODO
	 */</span></td>
	<td class="tableCell">84</td>
</tr>
					<tr>
	<td class="tableCell">ERROR</td>
	<td class="tableCell"><span title="Rule : privateFunctionNaming">Private function 'privateFunction' name should follow the pattern /^_[a-z]/</span></td>
	<td class="tableCell">85</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedFunctionParameters">Function parameter $a doesn't seem to be used</span></td>
	<td class="tableCell">85</td>
</tr>
					<tr>
	<td class="tableCell">ERROR</td>
	<td class="tableCell"><span title="Rule : protectedFunctionNaming">Protected function '_protectedFunction' name should follow the pattern /^[a-z]/</span></td>
	<td class="tableCell">93</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">The function parameters does not match the docblock @param</span></td>
	<td class="tableCell">93</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : avoidPassingReferences">Avoid passing parameters by reference</span></td>
	<td class="tableCell">100</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedCode">Unused code after return or throw</span></td>
	<td class="tableCell">102</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">The function returns a value but docblock @return is missing</span></td>
	<td class="tableCell">100</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">The function parameters does not match the docblock @param</span></td>
	<td class="tableCell">100</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedFunctionParameters">Function parameter $toto doesn't seem to be used</span></td>
	<td class="tableCell">100</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : defaultValuesOrder">All arguments with default values should be at the end</span></td>
	<td class="tableCell">111</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkInnerAssignment">Avoid using assigments (=) inside a control statement</span></td>
	<td class="tableCell">113</td>
</tr>
					<tr>
	<td class="tableCell">ERROR</td>
	<td class="tableCell"><span title="Rule : functionNaming">Function 'FunctionWithException' name should follow the pattern /^[a-z]/</span></td>
	<td class="tableCell">122</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty catch block</span></td>
	<td class="tableCell">126</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">The function throws an exception but the docblock @throw is missing</span></td>
	<td class="tableCell">122</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkHeredoc">Heredoc syntax should be avoided</span></td>
	<td class="tableCell">131</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : encapsedVariablesInsideString">Avoid encapsed variables inside a string</span></td>
	<td class="tableCell">132</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : docBlocks">Docblock missing</span></td>
	<td class="tableCell">138</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : oneClassPerFile">Only one class declaration is allowed per file</span></td>
	<td class="tableCell">138</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : functionInsideLoop">Consider moving the count function outside the loop</span></td>
	<td class="tableCell">140</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkEmptyBlock">Empty while block</span></td>
	<td class="tableCell">140</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedCode">Unused code after return or throw</span></td>
	<td class="tableCell">143</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkDeprecation">split is deprecated since PHP 5.3, use explode($pattern, $string) or preg_split('@'.$pattern.'@', $string) instead</span></td>
	<td class="tableCell">146</td>
</tr>
					<tr>
	<td class="tableCell">ERROR</td>
	<td class="tableCell"><span title="Rule : noFileFinishHTML">There is inline HTML at the end of the file</span></td>
	<td class="tableCell">151</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedPrivateFunctions">Unused private function : privateFunction</span></td>
	<td class="tableCell">85</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $TOTO is undeclared or not used</span></td>
	<td class="tableCell">16</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $Toto is undeclared or not used</span></td>
	<td class="tableCell">18</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $to_to is undeclared or not used</span></td>
	<td class="tableCell">20</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $test is undeclared or not used</span></td>
	<td class="tableCell">25</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $c is undeclared or not used</span></td>
	<td class="tableCell">36</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $u is undeclared or not used</span></td>
	<td class="tableCell">65</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $text is undeclared or not used</span></td>
	<td class="tableCell">68</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : checkUnusedVariables">Variable $z is undeclared or not used</span></td>
	<td class="tableCell">78</td>
</tr>
					</tbody>
</table>
<br/>
<h2 id="./test/badIndentation.php">./test/badIndentation.php</h2>
<table class="dataTable">
	<thead>
		<tr>
			<th class="tableHead" style="width:8em">
                Level
            </th>
            <th class="tableHead">
                Error Message
            </th>
			<th class="tableHead" style="width:3em">
                Line Number
            </th>
			
		</tr>
	</thead>
	<tbody><tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">6</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">7</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">9</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">10</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">11</td>
</tr>
					<tr>
	<td class="tableCell">WARNING</td>
	<td class="tableCell"><span title="Rule : indentation">The indentation line contains a whitespace</span></td>
	<td class="tableCell">12</td>
</tr>
					</tbody>
</table>
<br/>
<div class='footer'>
	<table >
		<tr>
			<td class="copyright">
				<a href="http://code.google.com/p/phpcheckstyle/">PHPCheckstyle Home</a>
			</td>
		</tr>
	</table>
</div>


</body>